home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat1
/
dhcp_relay.z
/
dhcp_relay
Wrap
Text File
|
1998-10-20
|
6KB
|
133 lines
ddddhhhhccccpppp____rrrreeeellllaaaayyyy((((1111MMMM)))) ddddhhhhccccpppp____rrrreeeellllaaaayyyy((((1111MMMM))))
NNNNAAAAMMMMEEEE
dhcp_relay - proclaim relay-agent for Dynamic Host Configuration Protocol
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
////uuuussssrrrr////eeeettttcccc////ddddhhhhccccpppp____rrrreeeellllaaaayyyy [ ----ffff ] [ ----oooo _r_e_l_a_y__o_p_t_i_o_n_s__f_i_l_e ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_d_h_c_p__r_e_l_a_y is the relay-agent that communicates with other DHCP and
_p_r_o_c_l_a_i_m clients and servers to provide address-leases across networks
using DHCP messages. The format of DHCP messages is based on BOOTP
messages (see RFC 951). A detailed protocol specification for DHCP is
contained in RFC 1541, available from the Network Information Center.
The DHCP relay-agent receives service requests at the UDP port indicated
in the _b_o_o_t_p service description contained in the file /_e_t_c/_s_e_r_v_i_c_e_s (see
_s_e_r_v_i_c_e_s(4)).
_d_h_c_p__r_e_l_a_y replaces the standard _b_o_o_t_p(_1_M) server application and serves
both _b_o_o_t_p and DHCP clients. The ----ffff option on the command line enables
the forwarding function of _b_o_o_t_p(_1_M).
CCCCOOOONNNNFFFFIIIIGGGGUUUURRRRAAAATTTTIIIIOOOONNNN
_d_h_c_p__r_e_l_a_y execution can be controlled through the following steps.
1) Specify relay-agent options in the /_e_t_c/_c_o_n_f_i_g/_d_h_c_p__r_e_l_a_y._o_p_t_i_o_n_s
file, if any, as in this example:
----cccc pppprrrrooooccccllllaaaaiiiimmmm____ccccoooonnnnffffiiiigggg____ddddiiiirrrr
This specifies an optional _p_r_o_c_l_a_i_m server configuration directory.
The default directory is /_v_a_r/_d_h_c_p/_c_o_n_f_i_g.
2) The configuration directory contains a file _d_h_c_p__r_e_l_a_y._s_e_r_v_e_r_s, which
has a list of _p_r_o_c_l_a_i_m servers, one per line. DHCP messages are
forwarded to each server contained in this file. Proclaim servers
may be specified using either an Internet host name or an Internet
address in standard dot notation (see _i_n_e_t(3N)). Here is a sample
_d_h_c_p__r_e_l_a_y._s_e_r_v_e_r_s configuration file:
111199992222....22226666....66661111....9999
ddddhhhhccccppppsssseeeerrrrvvvveeeerrrr....ssssggggiiii....ccccoooommmm
3) Enable the _p_r_o_c_l_a_i_m relay-agent by entering these commands:
cccchhhhkkkkccccoooonnnnffffiiiigggg pppprrrrooooccccllllaaaaiiiimmmm____rrrreeeellllaaaayyyyaaaaggggeeeennnntttt oooonnnn
cccchhhhkkkkccccoooonnnnffffiiiigggg pppprrrrooooccccllllaaaaiiiimmmm____sssseeeerrrrvvvveeeerrrr ooooffffffff
4) Replace the "bootp" entry in /_u_s_r/_e_t_c/_i_n_e_t_d._c_o_n_f with this line:
bbbboooooooottttpppp ddddggggrrrraaaammmm uuuuddddpppp wwwwaaaaiiiitttt rrrrooooooootttt ////uuuussssrrrr////eeeettttcccc////ddddhhhhccccpppp____rrrreeeellllaaaayyyy ddddhhhhccccpppp____rrrreeeellllaaaayyyy ----oooo \\\\
////eeeettttcccc////ccccoooonnnnffffiiiigggg////ddddhhhhccccpppp____rrrreeeellllaaaayyyy....ooooppppttttiiiioooonnnnssss
5) Kill any running _b_o_o_t_p with this command:
////eeeettttcccc////kkkkiiiillllllllaaaallllllll bbbboooooooottttpppp
PPPPaaaaggggeeee 1111
ddddhhhhccccpppp____rrrreeeellllaaaayyyy((((1111MMMM)))) ddddhhhhccccpppp____rrrreeeellllaaaayyyy((((1111MMMM))))
6) Restart _i_n_e_t_d with this command:
////eeeettttcccc////kkkkiiiillllllllaaaallllllll ----HHHHUUUUPPPP iiiinnnneeeettttdddd
FFFFIIIILLLLEEEESSSS
/etc/config/dhcp_relay.options
/etc/hosts
/etc/ethers
/usr/etc/inetd.conf
/var/dhcp/etherToIP
/var/dhcp/config/dhcp_relay.servers
SSSSEEEEEEEE AAAALLLLSSSSOOOO
bootp(1M), chkconfig(1M), dhcp_bootp(1M), inetd(1M), proclaim(1M),
ProclaimRelayMgr(1M), syslogd(1M), ethers(4), hosts(4).
IETF RFCs 1541, 1533, 1534, 1535.
PPPPaaaaggggeeee 2222